WARNING: This program has a bug, or error. So let's debug it!

Importing datetime as dt means that we can access the datetime objects using the shorthand dt.

  • Click Run to see the error. Update the date statement to use the shorthand dt.
  • Click Run to see if you fixed the program. When it is fixed, click Submit and Next.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)